projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc5bf9e
)
(code_convert_string): Use make_string_from_bytes.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 21 Mar 1998 17:59:48 +0000
(17:59 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 21 Mar 1998 17:59:48 +0000
(17:59 +0000)
src/coding.c
patch
|
blob
|
history
diff --git
a/src/coding.c
b/src/coding.c
index 5e4c0b9afddb9fbf8d11d22b6ea39382b7c37ca1..1909ce4e1242c52cd8e1eaf4ea08a3ea052650f2 100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-4388,8
+4388,8
@@
code_convert_string (str, coding, encodep, nocopy)
if (encodep)
str = make_unibyte_string (buf, len + coding->produced);
else
- str = make_
multibyte_string
(buf, len + coding->produced_char,
- len + coding->produced);
+ str = make_
string_from_bytes
(buf, len + coding->produced_char,
+
len + coding->produced);
return str;
}